import request from "../utils/request";

export function getDataList(params: any) {
  return request({
    url: "/getDataList",
    method: "GET",
    params,
  });
}

export function getDormitoryList(){
  return request({
    url:'/getDormitoryList',
    method:'GET'
  })
}
export function xgshopdata(params:any){
  return request({
    url:'/xgshopdata',
    method:'GET',
    params
  })
}
export function zhirishang(params:any){
  return request({
    url:'/zhirishang',
    method:'GET',
    params
  })
}
export function xougaipingji(params:any){
  return request({
    url:'/xougaipingji',
    method:'GET',
    params
  })
}
export function remove(params:any){
  return request({
    url:'/remove',
    method:'GET',
    params
  })
}
export function tihuan(params:any){
  return request({
    url:'/tihuan',
    method:'GET',
    params
  })
}

//添加宿舍
export function addDormitory(data){
  return request({
    url:"/addDormitory",
    method:"POST",
    data
  })
}

//导入
export function importDate(data){
  return request({
    url:'/importDate',
    method:"POST",
    data
  })
}
